//
//  LCLoanViewController.m
//  HQBProject
//
//  Created by taolei-mac on 2017/4/18.
//  Copyright © 2017年 com.zhejiangchain.ios. All rights reserved.
//

#import "LCLoanViewController.h"
#import "LCCircleAnimationView.h"

@interface LCLoanViewController ()

@end

@implementation LCLoanViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    self.view.backgroundColor = LCColor(159, 159, 159);
    
    
    /////
    ////
    UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
    btn.backgroundColor = [UIColor redColor];
    [btn setTitle:@"跳转" forState:UIControlStateNormal];
    [btn setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    btn.titleLabel.font = [UIFont fontWithName:@"Verdana-Bold" size:20];
    
    btn.frame = CGRectMake(100, 100, 45, 25);
    [self.view addSubview:btn];
    [btn addTarget:self action:@selector(jump) forControlEvents:UIControlEventTouchUpInside];
    
    LCCircleAnimationView *circleAnimationView = [[LCCircleAnimationView alloc] initWithFrame:CGRectMake(0, 0, 200, 200)];
    circleAnimationView.center = self.view.center;
    circleAnimationView.backgroundColor = [UIColor clearColor];
    circleAnimationView.percent = 25;
    [self.view addSubview:circleAnimationView];
}

- (void)jump
{
    UIViewController *nextVC = [[UIViewController alloc] init];
    nextVC.view.backgroundColor = [UIColor redColor];
    nextVC.navigationItem.title = @"实名认证";
    [self.navigationController pushViewController:nextVC animated:YES];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}



@end
